<extend name="Public/layout" />

<block name="content">
    <section class="wrapper site-min-height">
        <!-- page start-->
        <div class="row">
            <div class="col-md-12">
                <section class="panel">
                    <header class="panel-heading">
                        查看日志
                    </header>
                    <div class="panel-body">
                        <table class="table table-bordered">
                            <thead>
                            <tr>
                                <th width="15%">名称</th>
                                <th>数据详情</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td>日志ID</td>
                                <td>{$log.id}</td>
                            </tr>
                            <tr>
                                <td>路由名称</td>
                                <td>{$log.title}</td>
                            </tr>

                            <tr>
                                <td>路由路径</td>
                                <td>{$log.route}</td>
                            </tr>

                            <tr>
                                <td>请求URL</td>
                                <td>{$log.url}</td>
                            </tr>

                            <tr>
                                <td>浏览器标识</td>
                                <td>{$log.user_agent}</td>
                            </tr>
                            <tr>
                                <td>POST数据</td>
                                <td>{$log.posts}</td>
                            </tr>
                            <tr>
                                <td>GET数据</td>
                                <td>{$log.gets}</td>
                            </tr>
                            <tr>
                                <td>操作人</td>
                                <td>{$log.username}</td>
                            </tr>
                            <tr>
                                <td>操作时间</td>
                                <td>{$log.add_time|date='Y-m-d H:i:s',###}</td>
                            </tr>
                            <tr>
                                <td>操作IP</td>
                                <td>{$log.add_ip}</td>
                            </tr>


                            </tbody>
                        </table>
                    </div>
                </section>
            </div>
        </div>
        <!-- page end-->
    </section>
</block>

<block name="javascript">
    <script>
        //菜单高亮
        MenuHighlight('{:U("Admin/AdminLog/index")}');
    </script>
</block>